package com.zdsoft.crm.service.auth;

import java.util.List;

import com.zdsoft.crm.entity.auth.SysRole;
import com.zdsoft.crm.vo.PageVo;

public interface ISysRoleService {
	

	//分页
	public PageVo findPage(Integer pageNum, Integer pageSize);

	  //根据ID查询用户
	 
	SysRole findById(String id);

	
	int save(SysRole sysRole);

	//删除
	public int deleteRole(String id);

	//修改
	public int update(SysRole sysRole);
    //查询全部
	public List<SysRole> findAll();
	
	}

